<template>
  <!-- 医院门诊工作统计报表 -->
  <div>
    <h1>医 院 门 诊 工 作 统 计 报 表</h1>
    <h2>医院名称:</h2>
    <el-table :data="tableData" stripe border style="width: 100%">
      <el-table-column label="科别" align="center" width></el-table-column>
      <el-table-column label="总诊疗人次" align="center" width>
        <el-table-column label="总计" align="center" width></el-table-column>
        <el-table-column label="其中：门、急诊人次数" align="center" width>
          <el-table-column label="合计" align="center" width></el-table-column>
          <el-table-column label="门诊人次" align="center" width></el-table-column>
          <el-table-column label="急诊人次" align="center" width>
            <el-table-column label="计" align="center" width></el-table-column>
            <el-table-column label="抢救人数" align="center" width></el-table-column>
            <el-table-column label="抢救成功人数" align="center" width></el-table-column>
            <el-table-column label="死亡人数" align="center" width></el-table-column>
          </el-table-column>
        </el-table-column>
      </el-table-column>
      <el-table-column label="观察室" align="center" width>
        <el-table-column label="收容病人数" align="center" width></el-table-column>
        <el-table-column label="死亡人数" align="center" width></el-table-column>
        <el-table-column label="病人占床日数" align="center" width></el-table-column>
      </el-table-column>
    </el-table>
  </div>
</template>

<script>
export default {
  data() {
    return {
      tableData: []
    };
  },
  props: ["dataList"],
  watch: {
    dataList(val) {
      this.tableData = val;
    }
  }
};
</script>

<style scoped>
h1 {
  font-size: 24px;
  text-align: center;
  padding: 23px 0;
}
h3 {
  text-align: center;
  padding-bottom: 20px;
}
h2 {
  padding: 4px 0;
  display: flex;
  justify-content: space-between;
}
</style>